import {baseUrl} from "./baseUrl";
import {deletePic, postPic} from "@/api/api";

const base = {
    logo: baseUrl + "/banner/logo",//学院客服
    EvaChat: baseUrl + "/eva/chat",//学院客服
    cleanEvaChat: baseUrl + "/eva/cleanChatMemory",
    // AI对话会话管理相关接口
    evaSessions: baseUrl + "/eva/sessions",//获取会话列表
    evaAddSession: baseUrl + "/eva/addSession",//新增会话
    deleteSession: baseUrl + "/eva/deleteSession",//删除会话
    deleteMessage: baseUrl + "/eva/deleteMessage",//清空会话消息
    evaHistory: baseUrl + "/eva/history",//获取历史消息
    userLogin:baseUrl+"/user/login",//登录
    rigister_Choose:baseUrl+"/dept/getcollegelist",
    register_Choose_Major:baseUrl+"/dept/getMajor",
    deptlist:baseUrl+"/dept/list",
    // 帖子类型相关接口
    tiptypeList:baseUrl+"/tiptype/getAllTipTypes",
    getTopBulletin:baseUrl+"/bulletin/topList",
    getFristBulletin:baseUrl+"/bulletin/list",
    getContent:baseUrl+"/bulletin/getContent",
    getUserlist:baseUrl+"/friend/getFriendList",
    getMessageList:baseUrl+"/message/list",
    getMySelf:baseUrl+"/user/getMySelf",//获取个人信息
   getFriendList:baseUrl+"/friend/getFriendList",
    //注册
    registerUser:baseUrl+"/user/register",
    addMessage:baseUrl+"/message/addMessage",
    postMyPicture:baseUrl+"/user/postMyPictrue",//上传头像
    alltip:baseUrl+"/tip/alltip",
    alltipByTime:baseUrl+"/tip/alltipByTime",
    gettip:baseUrl+"/tip/gettip",
    addtip:baseUrl+"/tip/addtip",
    getMyGoodsTip:baseUrl+"/tip/getMyGoodsTip",
    getComment:baseUrl+"/comment/getComment",
    getSecondComment:baseUrl+"/comment/getSecondComment",
    addComment:baseUrl+"/comment/addComment",
    //获取用户列表
    getUserFriendList:baseUrl+"/friend/findUserByEmail",
    //查找好友
    findFriendByEmail:baseUrl+"/friend/findFriendByEmail",
    //添加好友
    addFriend:baseUrl+"/friend/addFriend",
    //删除好友
    removeFriend:baseUrl+"/friend/deleteFriend",
    getMyTip:baseUrl+"/tip/getMyTip",
    getMyGoodTipId:baseUrl+"/tip/getMyGoodTipId",
    userGoods:baseUrl+"/tip/userGoods",
    cancelUserGoods:baseUrl+"/tip/cancelUserGoods",
    searchTip:baseUrl+"/tip/searchTip",
    //获取所有用户
    allUser:baseUrl+"/user/list",
    //管理员登录
    adminLogin:baseUrl+"/user/adminlogin",
    getMyFriendResponse:baseUrl+"/friend/getMyFriendResponse",
    deleteFriendRequest:baseUrl+"/friend/deleteFriendRequest",
    addFriendRequest:baseUrl+"/friend/addFriendRequest",
    createGroup:baseUrl+"/group/addGroup",
    getGroupList:baseUrl+"/group/getGroupList",
    searchGroupo:baseUrl+"/group/selectGroup",
    addGroupMessage:baseUrl+"/group/addGroupMessage",
    joinGroup:baseUrl+"/group/joinGroup",
    outGroup:baseUrl+"/group/outGroup",
    getGroupMessageList:baseUrl+"/group/getMessageList",
    getUserByGroup:baseUrl+"/group/getUserByGroup",
    addlittleGroupMessage:baseUrl+"/message/addGroupMessage",
    getGroupMessage:baseUrl+"/message/getGroupMessage",//获取群聊信息
    updateUser:baseUrl+"/user/updateUser",//修改用户信息
    getUserInfo:baseUrl+"/user/getUserInfo",
    createRank:baseUrl+"/user/createRank",//获取群聊信息
    downRank:baseUrl+"/user/downRank",//获取群聊信息



    adminbulletinlist:baseUrl+"/admin/bulletinlist",//获取群聊信息
    adminuserlist:baseUrl+"/admin/userlist",//获取群聊信息
    admintipalltip:baseUrl+"/admin/tipalltip",//获取群聊信息
    admindeptlist:baseUrl+"/admin/deptlist",//获取群聊信息
    addBulletin:baseUrl+"/bulletin/addBulletin",//获取群聊信息

    postPic:baseUrl+"/tip/postPic",//获取群聊信息
    getRankOfTip:baseUrl+"/tip/getRankOfTip",
    deletePic:baseUrl+"/tip/deletPic",//获取群聊信息
    sendEmail:baseUrl+"/user/sendEmail",
    // AI 智能体与知识库管理
    aiCreateApp: baseUrl + "/ai/createApp",
    aiGetAppList: baseUrl + "/ai/getAppListByPage",
    aiGetAppById: baseUrl + "/ai/getAppById",
    aiEditApp: baseUrl + "/ai/editApp",
    aiStartApp: baseUrl + "/ai/startApp",
    aiDeleteApp: baseUrl + "/ai/deleteAppById",
    vecCreate: baseUrl + "/vec/createVec",
    vecList: baseUrl + "/vec/getMyVecListByPages",
    vecDelete: baseUrl + "/vec/deleteVecById",
    vecShardList: baseUrl + "/shards/getShardsList",
    vecShardUpload: baseUrl + "/shards/fileToString",
    vecShardCreate: baseUrl + "/shards/createShards",
    vecAppConnect: baseUrl + "/Vec_App/createVec_App",
    vecAppDisconnect: baseUrl + "/Vec_App/disconnectVec_App",
    vecAppRelation: baseUrl + "/Vec_App/getVecIdsByAppId",
    vecAppConnectedList: baseUrl + "/Vec_App/getAppConnectVecByAppId",
}

export default base
